package com.xgc.book.bookserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgc.book.bookserver.bean.VipBean;
import com.xgc.book.bookserver.util.ResultJson;
import com.xgc.book.bookserver.util.form.CommentForm;
import com.xgc.book.bookserver.util.form.LoginForm;

/**
 * <p>
 * 会员信息表 服务类
 * </p>
 *
 * @author wrz
 * @since 2023-11-20
 */
public interface VipService extends IService<VipBean> {
    ResultJson login(LoginForm loginForm);

    ResultJson logout(int vipId);

    void saveComment(CommentForm comment);

    ResultJson getPage(int page, int limit, VipBean vipBean);

    void deleteVip(int vipId);

    ResultJson wxLogin(String jsCode);
}
